package homework01;

public class homewo7 {
    public static void main(String[] args) {
        int year = 1988;
        for (; year <= 2019; year++) {
            if (year % 4 == 0 && year % 100 != 0 || year % 400 == 0) {
                System.out.println(year+"是闰年");
            }
        }
    }
}
